<script type="text/javascript">
$(function(){  
  // 快选(号码)按钮 - 0,1,2,3...
  $("td#divBtnQuick01 span").click(function(){
    var addVal = $(this).text();
    $("td#divBtnQuick01 input#iptQuick01Val").val(addVal);  // 暂存点选号码
    $("td#divBtnQuick01 span").removeClass("btnchoiced").addClass("btnchoice");
    $(this).removeClass("btnchoice").addClass("btnchoiced");
  });
  
  // + - 动作按钮 (根据快选号码)
  $("td#divBtnAddVal input:button[class^=btn]").click(function(){
    var myVal = $("td#divBtnQuick01 input#iptQuick01Val").val();
    var mp = "";
    if(myVal != ""){
      mp = $(this).attr("class").substr(3,1);
      $("form#frmMenu input#actionNum").val(myVal);         // 资料转移
      $("form#frmMenu input#actionBettype").val("24,25,26,27,28"); // 资料设定
      $("form#frmMenu input#actionMP").val(mp);             // 资料转移
      $("form#frmMenu input#method").val(2);             // 资料转移
      $().setRateByXML(); // 更新赔率
    }else{
      alert('请先选择快选号码');
    }
  });
  
  // + - 根据定位别
  $("tr#titletype th>input[class^=btn]").click(function(){
    var myId = $(this).parent("th").attr("id").substr(3,2);
    mp = $(this).attr("class").substr(3,1);
    $("form#frmMenu input#actionNum").val("0,1,2,3,4,5,6,7,8,9");  // 资料设定
    $("form#frmMenu input#actionBettype").val(myId);          // 资料设定
    $("form#frmMenu input#actionMP").val(mp);             // 资料转移
    $("form#frmMenu input#method").val(4);             // 资料转移
    $().setRateByXML(); // 更新赔率
  });

  

});
</script>

<table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
<tr class="title0" id="titletype">
<th id="thr24"><input type="button" class="btnmin" value="-" />&nbsp;5&nbsp;<input type="button" class="btnplus" value="&Phi;" /></th>
<th id="thr25"><input type="button" class="btnmin" value="-" />&nbsp;6&nbsp;<input type="button" class="btnplus" value="&Phi;" /></th>
<th id="thr26"><input type="button" class="btnmin" value="-" />&nbsp;7&nbsp;<input type="button" class="btnplus" value="&Phi;" /></th>
<th id="thr27"><input type="button" class="btnmin" value="-" />&nbsp;8&nbsp;<input type="button" class="btnplus" value="&Phi;" /></th>
<th id="thr28"><input type="button" class="btnmin" value="-" />&nbsp;9&nbsp;<input type="button" class="btnplus" value="&Phi;" /></th>
<th>全包</th>
</tr>
<tr>
<td valign="top">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr24">
    <tr class="td2" align="right"><td colspan="5" class="row1">资料下载中...</td></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    </tbody>
    <tfoot id="tft24" align="right">
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tfoot>
    </table>
</td>
<td valign="top">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr25">
    <tr class="td2" align="right"><td colspan="5" class="row1">资料下载中...</td></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    </tbody>
    <tfoot id="tft25" align="right">
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tfoot>
    </table>
</td>
<td valign="top">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr26">
    <tr class="td2" align="right"><td colspan="5" class="row1">资料下载中...</td></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    </tbody>
    <tfoot id="tft26" align="right">
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tfoot>
    </table>
</td>
<td valign="top">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr27">
    <tr class="td2" align="right"><td colspan="5" class="row1">资料下载中...</td></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    </tbody>
    <tfoot id="tft27" align="right">
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tfoot>
    </table>
</td>
<td valign="top">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr28">
    <tr class="td2" align="right"><td colspan="5" class="row1">资料下载中...</td></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    <tr class="td2" align="right"></tr>
    </tbody>
    <tfoot id="tft28" align="right">
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tfoot>
    </table>
</td>
<td valign="top" class="td2">
    <table class="table_3d" cellpadding="0" cellspacing="1" width="100%">
    <thead>
    <tr class="td15">
    <th>号码</th><th>笔数</th><th>金额</th><th>赔率</th><th>操盘</th>
    </tr>
    </thead>
    <tbody id="tbdr29">
    <tr class="row2mon">
    <th class="td6">全包</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    <tr class="td6" align="right"><th class="td0">合计</th><td>0</td><td>0</td><td>--</td><td>--</td></tr>
    </tbody>
    </table>
</td>
</tr>
</table>


<table width="950" border=0 cellpadding=5 cellspacing=0>
<tr valign="top">
<td>
  <div id=div0></div>
  <table width="100%" border=0 cellpadding=5 cellspacing=0>
  <tr>
  <td width="50%" id="divBtnQuick01">快选 
  <span class="btnchoice">0</span> 
  <span class="btnchoice">1</span> 
  <span class="btnchoice">2</span> 
  <span class="btnchoice">3</span> 
  <span class="btnchoice">4</span> 
  <span class="btnchoice">5</span> 
  <span class="btnchoice">6</span> 
  <span class="btnchoice">7</span> 
  <span class="btnchoice">8</span> 
  <span class="btnchoice">9</span> 
  <input type="hidden" value="" id="iptQuick01Val" />
  </td>
  <td width="50%" id="divBtnAddVal">增量 
  <span class="btnchoice">5</span>
  <span class="btnchoice">4</span>
  <span class="btnchoice">3</span>
  <span class="btnchoice">2</span>
  <span class="btnchoice">1</span>
  <span class="btnchoiced">0.5</span>
  <span class="btnchoice">0.4</span>
  <span class="btnchoice">0.3</span>
  <span class="btnchoice">0.2</span>
  <span class="btnchoice">0.1</span>
  <span class="btnchoice">0.05</span>
  <span class="btnchoice">0.02</span>
  <span class="btnchoice">0.01</span>
  &#12288;动作 
  <input type="button" value="-" class="btnmin">
  <input type="button" value="&Phi;" class="btnplus">
  </td>
  </tr>
  </table>
</td>
</tr>
</table>   